package com.atguigu.gulimall.cart.feign;

import com.alibaba.nacos.client.logging.logback.LogbackNacosLogging;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.math.BigDecimal;
import java.util.List;

@FeignClient(value = "gulimall-product")

public interface ProductFeignService {







    @RequestMapping("product/skuinfo/info/{skuId}")
    R    getSkuInfo(@PathVariable Long skuId);



    @GetMapping("/product/skusaleattrvalue/stringlist/{skuId}")
    List<String>   getSkuSaleAttrValues(@PathVariable Long skuId);


    @GetMapping("/product/skuinfo/{skuId}/price")
     R getPrice(@PathVariable Long skuId);




}
